package com.example.chongwushangcheng.model;

/**
 * 宠物交流帖子模型类
 */
public class PetExchangePost {
    private int id;
    private String title;
    private String content;
    private String date;
    private String location;
    private int imageResId;

    public PetExchangePost(int id, String title, String content, String date, String location, int imageResId) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.date = date;
        this.location = location;
        this.imageResId = imageResId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public int getImageResId() {
        return imageResId;
    }

    public void setImageResId(int imageResId) {
        this.imageResId = imageResId;
    }
} 